/* الأساسيات والمتغيرات */
:root {
  --primary-color: #ffffff;
  --secondary-color: #fff2d8;
  --accent-color: #ead7bb;
  --highlight-color: #f09319;
  --white: #ffffff;
  --text-color: #333333;
  --card-bg: #ffffff;
  --body-bg: #f9f9f9;
  --footer-bg: #1a1e24;
  --header-bg: rgba(34, 40, 49, 0.98);
  --footer-text: #cccccc;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --header-height: 90px;
}

/* الوضع المظلم */
:root.dark-mode {
  --primary-color: #f0f0f0;
  --secondary-color: #1a1a2e;
  --accent-color: #ffee00;
  --highlight-color: #ffc107;
  --white: #121212;
  --text-color: #e0e0e0;
  --card-bg: #252535;
  --body-bg: #1a1a2a;
  --footer-bg: #121220;
  --header-bg: rgba(30, 30, 46, 0.95);
  --footer-text: #d0d0d0;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
*{
    text-decoration: none;
  }
/* إعدادات عامة */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Tajawal", sans-serif;
}

body {
  background-color: var(--body-bg);
  color: var(--text-color);
  line-height: 1.6;
  transition: var(--transition);
  overflow-x: hidden;
  padding-top: var(--header-height);
}

.container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 0;
}

/* الشريط العلوي */
.top-bar {
  background: linear-gradient(90deg, var(--highlight-color), #e67e22);
  color: white;
  padding: 8px 0;
  font-size: 14px;
  position: sticky;
  top: 0;
  z-index: 1001;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* الهيدر الرئيسي - معدل حسب طلبك */
header {
  background-color: var(--header-bg);
  color: var(--secondary-color);
  padding: 15px 0;
  box-shadow: var(--shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* اللوجو - معدل حسب طلبك */
.logo {
  font-size: 32px;
  font-weight: 900;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: var(--transition);
}

.logo:hover {
  transform: scale(1.05);
}

.logo img {
  height: 70px;
  margin-left: 15px;
  transition: var(--transition);
}

.logo:hover img {
  transform: rotate(5deg);
}

.logo span {
  color: var(--highlight-color);
  position: relative;
}

.logo span::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--highlight-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.logo:hover span::after {
  transform: scaleX(1);
}

/* القائمة */
nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin: 0 10px;
}

nav ul li a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  padding: 10px 15px;
  border-radius: 8px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

nav ul li a:hover {
  color: var(--highlight-color);
  transform: translateY(-3px);
}

nav ul li a i {
  font-size: 18px;
  margin-bottom: 5px;
  transition: var(--transition);
}

nav ul li a:hover i {
  transform: scale(1.2);
}

/* زر الواتساب - معدل حسب طلبك */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  background: #128C7E;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-float i {
  color: white;
  font-size: 30px;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* المحتوى الرئيسي */
.main-content {
  padding: 40px 0;
}

/* التكيف مع الشاشات الصغيرة */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
  }
  
  .logo {
    margin-bottom: 15px;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav ul li {
    margin: 5px;
  }
  
  .logo {
    font-size: 28px;
  }
  
  .logo img {
    height: 60px;
  }
  
  :root {
    --header-height: 120px;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 24px;
  }
  
  .logo img {
    height: 50px;
  }
  
  nav ul li a {
    padding: 8px 10px;
    font-size: 14px;
  }
  
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    left: 20px;
  }
  
  .whatsapp-float i {
    font-size: 24px;
  }
}

/* تعديلات للوضع المظلم */
:root.dark-mode header {
  background-color: rgba(30, 30, 46, 0.98);
}

:root.dark-mode .logo {
  color: #f0f0f0;
}

:root.dark-mode .logo span {
  color: #ffc107;
}

:root.dark-mode .logo:hover span {
  color: white;
}

:root.dark-mode nav ul li a {
  color: #e0e0e0;
}

:root.dark-mode nav ul li a:hover {
  color: #ffc107;
}























/* تحسينات الهيدر العلوي */
.top-bar {
  background: linear-gradient(90deg, var(--highlight-color), #e67e22);
  color: white;
  padding: 8px 0;
  font-size: 14px;
  position: sticky;
  top: 0;
  z-index: 1001;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.top-bar:hover {
  background: linear-gradient(90deg, #e67e22, var(--highlight-color));
}

.top-links a {
  color: white;
  margin-right: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 13px;
  position: relative;
  padding: 5px 0;
}

.top-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  right: 0;
  background-color: white;
  transition: width 0.3s ease;
}

.top-links a:hover::after {
  width: 100%;
  right: auto;
  left: 0;
}

.top-links a:hover {
  transform: translateY(-2px);
}

.theme-switcher {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 15px;
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.theme-switcher:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* تحسينات الهيدر الرئيسي */
header {
  background-color: var(--header-bg);
  color: var(--secondary-color);
  padding: 5px 0;
  box-shadow: var(--shadow);
  position: fixed;
  top: 30px;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-scrolled {
  top: 0;
  padding: 0;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  height: 60px;
}

.logo {
  font-size: 24px;
  font-weight: 900;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.logo:hover {
  transform: scale(1.05);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.logo img {
  height: 50px;
  margin-left: 10px;
  transition: all 0.4s ease;
}

.logo:hover img {
  transform: rotate(5deg) scale(1.1);
}

.logo span {
  color: var(--highlight-color);
  position: relative;
  transition: all 0.3s ease;
}

.logo:hover span {
  color: #fff;
}

.logo span::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--highlight-color);
  transition: width 0.3s ease;
}

.logo:hover span::after {
  width: 100%;
}

/* تحسينات القائمة */
nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin: 0 8px;
  position: relative;
}

nav ul li a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 15px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

nav ul li a i {
  font-size: 16px;
  margin-bottom: 5px;
  transition: all 0.3s ease;
}

nav ul li a span {
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

nav ul li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--highlight-color), var(--accent-color));
  z-index: 0;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
  border-radius: 8px;
}

nav ul li a:hover::before {
  opacity: 1;
  transform: scale(1);
}

nav ul li a:hover {
  color: white;
  transform: translateY(-3px);
}

nav ul li a:hover i {
  transform: scale(1.2) translateY(-3px);
  color: white;
}

/* تحسينات قسم الهيرو */
.hero {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
  padding: 150px 0 100px;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://images.unsplash.com/photo-1555529669-e69e7aa0ba9a?auto=format&fit=crop&w=1920&q=80") center/cover;
  opacity: 0.08;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 25px;
  color: var(--primary-color);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  animation: fadeInDown 1s ease both;
  line-height: 1.2;
  position: relative;
  display: inline-block;
}

.hero h1::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--highlight-color);
  border-radius: 2px;
}

.hero p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--primary-color);
  animation: fadeInUp 1s ease 0.3s both;
  position: relative;
  padding: 15px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* تأثيرات خاصة للهيرو */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background-color: rgba(240, 147, 25, 0.1);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

/* تأثيرات الأقسام التالية للهيرو */
.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 36px;
  color: var(--primary-color);
  display: inline-block;
  padding-bottom: 15px;
  position: relative;
  margin-bottom: 15px;
  animation: fadeInUp 0.8s ease both;
}

.section-title h2::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--highlight-color), var(--accent-color));
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.section-title p {
  max-width: 700px;
  margin: 15px auto 0;
  color: var(--text-color);
  font-size: 18px;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease 0.2s both;
  position: relative;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: 10px;
  display: inline-block;
}

/* تأثيرات هوفر للروابط في الأقسام */
.category-btn {
  padding: 12px 25px;
  background-color: var(--accent-color);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-color);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.category-btn::before {
    text-decoration: none;

  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--highlight-color), var(--accent-color));
  transition: width 0.4s ease;
  z-index: -1;
  border-radius: 50px;
}

.category-btn:hover::before {
  width: 100%;
  color:#d0d0d0;
}

.category-btn:hover,
.category-btn.active {
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(240, 147, 25, 0.3);
}

.category-btn i {
  font-size: 18px;
  transition: all 0.3s ease;
}

.category-btn:hover i {
  transform: rotate(15deg) scale(1.2);
}

/* تأثيرات الظهور */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* تأثيرات التمرير */
.scroll-animate {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.scroll-animate.animated {
  opacity: 1;
  transform: translateY(0);
}

/* تأثيرات خاصة للوضع الليلي */
:root.dark-mode .hero {
  background: linear-gradient(135deg, #2a2a4a 0%, #1a1a3a 100%);
}

:root.dark-mode .hero p {
  background: rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
}

:root.dark-mode .section-title p {
  background: rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
}

/* تأثيرات الهيدر في الوضع الليلي */
:root.dark-mode header {
  background-color: rgba(30, 30, 46, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* تأثيرات القائمة في الوضع الليلي */
:root.dark-mode nav ul li a {
  color: #e0e0e0;
}

:root.dark-mode nav ul li a:hover {
  color: white;
}

/* تأثيرات اللوجو في الوضع الليلي */
:root.dark-mode .logo {
  color: #f0f0f0;
}

:root.dark-mode .logo span {
  color: var(--highlight-color);
}

:root.dark-mode .logo:hover span {
  color: white;
  
}

/* تأثيرات الشريط العلوي في الوضع الليلي */
:root.dark-mode .top-bar {
  background: linear-gradient(90deg, #e67e22, var(--highlight-color));
}

:root.dark-mode .top-bar:hover {
  background: linear-gradient(90deg, var(--highlight-color), #e67e22);
}

/* تأثيرات الأزرار في الوضع الليلي */
:root.dark-mode .category-btn {
  background-color: #2a2a3a;
  color: #e0e0e0;
}

:root.dark-mode .category-btn::before {
  background: linear-gradient(90deg, var(--highlight-color), #e67e22);
  color: #e0e0e0;

}

/* تأثيرات النص في الوضع الليلي */
:root.dark-mode .hero h1 {
  color: #f0f0f0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

:root.dark-mode .section-title h2 {
  color: #f0f0f0;
}

/* تأثيرات إضافية للهيدر عند التمرير */
.header-scrolled {
  height: 70px;
  background-color: rgba(34, 40, 49, 0.98);
}

:root.dark-mode .header-scrolled {
  background-color: rgba(30, 30, 46, 0.98);
}

/* تحسينات للشريط العلوي عند التمرير */
.header-scrolled + .top-bar {
  opacity: 0.9;
  transform: translateY(-10px);
  padding: 5px 0;
}

/* تأثيرات إضافية للقائمة عند التمرير */
.header-scrolled nav ul li a {
  padding: 8px 12px;
  font-size: 13px;
}

/* تحسينات للشعار عند التمرير */
.header-scrolled .logo {
  font-size: 22px;
}

.header-scrolled .logo img {
  height: 40px;
}

/* تحسينات للهواتف */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
    padding: 10px;
  }
  
  nav ul li {
    margin: 0 5px;
  }
  
  nav ul li a {
    padding: 8px 10px;
    font-size: 12px;
  }
  
  .section-title h2 {
    font-size: 28px;
  }
  
  .section-title p {
    font-size: 16px;
  }
  
  .category-btn {
    padding: 10px 15px;
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-title h2 {
    font-size: 24px;
  }
  
  .section-title p {
    font-size: 14px;
  }
}










    :root.dark-mode .product-card {
      border: 1px solid rgba(255, 255, 255, 0.05);
    }
    :root.dark-mode .hero {
      background: linear-gradient(135deg, #2a2a4a 0%, #1a1a3a 100%);
    }
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: "Tajawal", sans-serif;
    }
  
    body {
      background-color: var(--body-bg);
      color: var(--text-color);
      line-height: 1.6;
      transition: var(--transition);
      overflow-x: hidden;
      padding-top: var(--header-height); /* لمنع المحتوى من الاختفاء تحت الهيدر الثابت */
    }
  
    /* تأثير التحميل */
    .page-loader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: var(--primary-color);
      z-index: 9999;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      transition: opacity 0.5s, visibility 0.5s;
    }
    
    .page-loader.fade-out {
      opacity: 0;
      visibility: hidden;
    }
    
    .loader-spinner {
      width: 75px;
      height: 75px;
      border: 5px solid rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      border-top-color: var(--highlight-color);
      animation: spin 1s linear infinite;
    }
    
    @keyframes spin {
      to {
          transform: rotate(360deg);
      }
    }
    
    .container {
      width: 90%;
      max-width: 1400px;
      margin: 0 auto;
      padding: 20px 0;
    }
  

/* الشريط العلوي */
.top-bar {
  background-color: var(--highlight-color);
  color: white;
  padding: 8px 0; /* تصغير الحجم */
  font-size: 14px;
  position: sticky;
  top: 0;
  z-index: 1001;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-links a {
  color: white;
  margin-right: 15px;
  text-decoration: none;
  transition: opacity 0.3s;
  font-size: 13px;
}

.top-links a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.theme-switcher {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 20px;
  transition: var(--transition);
}

.theme-switcher:hover {
  background-color: rgba(255, 255, 255, 0.2);
}



   /* الهيدر الزجاجي المعدل - أصغر حجماً */
   header {
    background-color: var(--header-bg);
    color: var(--secondary-color);
    padding: 5px 0; /* تصغير الحجم */
    box-shadow: var(--shadow);
    position: fixed;
    top: 30px; /* يتناسب مع ارتفاع الشريط العلوي */
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: var(--header-height);
    display: flex;
    align-items: center;
  }
  
  .header-scrolled {
    top: 0;
    padding: 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
  }
  
  .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-direction: row; /* تغيير إلى صف أفقي */
  }
  
  .logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 0;
  }
  
  .logo {
    font-size: 24px; /* تصغير حجم الخط */
    font-weight: 900;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
  }
  
  .logo:hover {
    transform: scale(1.05);
  }
  
  .logo img {
    height: 50px; /* تصغير حجم اللوجو */
    margin-left: 10px;
    transition: var(--transition);
  }
  
  .logo:hover img {
    transform: rotate(5deg);
  }
  
  .logo span {
    color: var(--highlight-color);
    position: relative;
  }

      /* تأثير التوهج على العنوان */
      .logo span::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 100%;
        height: 2px;
        background: var(--highlight-color);
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.3s ease;
      }
      
      .logo:hover span::after {
        transform: scaleX(1);
        transform-origin: left;
      }
      nav ul {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
      }
      
      nav ul li {
        margin: 0 5px;
      }
      
      nav ul li a {
        color: var(--secondary-color);
        text-decoration: none;
        font-weight: 500;
        transition: var(--transition);
        font-size: 14px; /* تصغير حجم الخط */
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 8px 12px;
        border-radius: 8px;
        position: relative;
      }
  /* تأثير الهوفر الاحترافي للقائمة */
  nav ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--highlight-color);
    transition: width 0.3s ease;
  }
  nav ul li a:hover {
    color: var(--highlight-color);
  }
  
  nav ul li a:hover::before {
    width: 70%;
  }
  
  nav ul li a i {
    font-size: 14px;
    margin-bottom: 3px;
  }
     /* قسم الهيرو المعدل مع أنيميشن */
     .hero {
      background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
      padding: 120px 0 80px; /* تعديل الحشو ليتناسب مع الهيدر الثابت */
      text-align: center;
      margin-bottom: 40px;
      position: relative;
      overflow: hidden;
      min-height: 60vh;
      display: flex;
      align-items: center;
    }
    
    .hero::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: url("https://images.unsplash.com/photo-1555529669-e69e7aa0ba9a?auto=format&fit=crop&w=1920&q=80") center/cover;
      opacity: 0.1;
      z-index: 0;
    }
    
    .hero-content {
      position: relative;
      z-index: 1;
      max-width: 800px;
      margin: 0 auto;
    }
    
    .hero h1 {
      font-size: 2.8rem;
      margin-bottom: 20px;
      color: var(--primary-color);
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      animation: fadeInDown 1s ease both;
    }
    
    .hero p {
      font-size: 1.2rem;
      max-width: 700px;
      margin: 0 auto 30px;
      color: var(--primary-color);
      animation: fadeInUp 1s ease 0.3s both;
    }
    
    /* أنيميشن خاص للهيرو */
    @keyframes float {
      0%, 100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-20px);
      }
    }
    
    .hero::after {
      content: '';
      position: absolute;
      bottom: -50px;
      left: -50px;
      width: 200px;
      height: 200px;
      background-color: rgba(240, 147, 25, 0.1);
      border-radius: 50%;
      animation: float 6s ease-in-out infinite;
    }
  
  /* الأقسام */
  .section-title {

      text-align: center;
      margin-bottom: 40px;
      position: relative;
  }
  
  .section-title h2 {
      font-size: 32px;
      color: var(--primary-color);
      display: inline-block;
      padding-bottom: 10px;
  }
  
  .section-title h2::after {
      content: "";
      position: absolute;
      width: 60px;
      height: 3px;
      background-color: var(--highlight-color);
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      border-radius: 2px;
  }
  
  .section-title p {
      max-width: 700px;
      margin: 10px auto 0;
      color: var(--text-color);
      font-size: 16px;
  }
  
  /* تصنيفات معدلة */

  .categories {
    text-decoration: none;

      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 30px;
  }
  
  .category-btn {
    text-decoration: none;

      padding: 10px 20px;
      background-color: var(--accent-color);
      border: none;
      border-radius: 50px;
      cursor: pointer;
      transition: var(--transition);
      font-weight: 600;
      font-size: 14px;
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--primary-color);
  }
  
  .category-btn i {
    text-decoration: none;

      font-size: 16px;
  }
  
  .category-btn:hover,
  .category-btn.active {
      background-color: var(--highlight-color);
      color: white;
      transform: translateY(-3px);
      box-shadow: 0 5px 15px rgba(240, 147, 25, 0.3);
  }
  
  /* المنتجات */
  .products-grid {
    text-decoration: none;

      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 25px;
      margin-bottom: 50px;
  }
  
    /* تحسينات كروت المنتجات */
    .product-card {
    text-decoration: none;

      background-color: var(--card-bg);
      border-radius: 15px;
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      position: relative;
      border: 1px solid rgba(0, 0, 0, 0.05);
    }
  
  
    .product-card:hover {
      transform: translateY(-10px) scale(1.02);
      box-shadow: 0 15px 30px rgba(255, 251, 0, 0.658);
    }
  
  .product-badge {
    text-decoration: none;

      position: absolute;
      top: 12px;
      right: 12px;
      background-color: var(--highlight-color);
      color: white;
      padding: 4px 10px;
      border-radius: 50px;
      font-size: 11px;
      font-weight: bold;
      z-index: 10;
  }
  
  .product-images {
    height: 220px;
    position: relative;
    overflow: hidden;
  }

  
  .product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 0.8s ease;
  }
  
  .product-img.active {
      opacity: 1;
  }
  
  .product-actions-top {
      position: absolute;
      top: 12px;
      left: 12px;
      display: flex;
      flex-direction: column;
      gap: 8px;
      z-index: 10;
  }
      
  .product-card:hover .product-img {
    transform: scale(1.05);
  }
  
  .action-btn {
    text-decoration: none;

      background-color: rgba(255, 255, 255, 0.9);
      border: none;
      width: 35px;
      height: 35px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: var(--transition);
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  }
  
  .action-btn i {
    text-decoration: none;

      color: var(--primary-color);
      font-size: 16px;
      transition: var(--transition);
  }
  
  .action-btn:hover,
  .action-btn.active {
      background-color: var(--highlight-color);
      transform: scale(1.1);
  }
  
  .action-btn:hover i,
  .action-btn.active i {
      color: white;
  }
  
  .product-info {
      padding: 16px;
      position: relative;
  }
  
  .product-title {
      font-size: 18px;
      margin-bottom: 8px;
      color: var(--primary-color);
      transition: var(--transition);
  }
  
  .product-card:hover .product-title {
      color: var(--highlight-color);
  }
  
  .product-description {
    text-decoration: none;

      color: var(--text-color);
      margin-bottom: 12px;
      font-size: 13px;
      opacity: 0.8;
      line-height: 1.5;
  }
  
  .product-rating {
    text-decoration: none;

      display: flex;
      align-items: center;
      margin-bottom: 12px;
      color: #ffd700;
      font-size: 14px;
  }
  
  .product-rating .rating-count {
      color: var(--text-color);
      margin-right: 6px;
      font-size: 12px;
      opacity: 0.7;
  }
  
  .product-price {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 12px;
  }
  
  .current-price {
      font-size: 20px;
      font-weight: 700;
      color: var(--highlight-color);
  }
  
  .old-price {
      font-size: 15px;
      color: #999;
      text-decoration: line-through;
  }
  
  .discount {
      background-color: #ff5252;
      color: white;
      padding: 2px 6px;
      border-radius: 4px;
      font-size: 11px;
      font-weight: bold;
  }
  
  .product-actions {
      display: flex;
      justify-content: space-between;
      gap: 8px;
  }
  
    
    /* تحسين زر "اطلب الآن" */
    .order-btn {
        text-decoration: none;

      background-color: var(--highlight-color);
      color: white;
      border: none;
      padding: 12px 20px;
      border-radius: 50px;
      cursor: pointer;
      font-weight: 600;
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      flex-grow: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      font-size: 15px;
      position: relative;
      overflow: hidden;
      
    }
    .order-btn::before {
      text-decoration: none;

      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
      transition: 0.5s;
    }
    .order-btn:hover {
      background-color: var(--primary-color);
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(240, 147, 25, 0.4);
    }
    .order-btn:hover::before {
      left: 100%;
    }
  /* قسم "لماذا تختارنا" */
  .why-us {
      background-color: var(--accent-color);
      padding: 60px 0;
      margin: 50px 0;
      position: relative;
      overflow: hidden;
  }
  
  .why-us::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: url("https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&w=1920&q=80") center/cover;
      opacity: 0.05;
      z-index: 0;
  }
  
  .why-us-content {
      position: relative;
      z-index: 1;
  }
  
  .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 25px;
      margin-top: 40px;
  }
  
  .feature-card {
      background-color: var(--card-bg);
      border-radius: 12px;
      padding: 25px;
      text-align: center;
      transition: var(--transition);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
      position: relative;
      overflow: hidden;
      z-index: 1;
  }
  
  .feature-card::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 4px;
      background: linear-gradient(90deg, var(--highlight-color), var(--accent-color));
      transition: height 0.3s;
      z-index: -1;
  }
  
  .feature-card:hover::before {
      height: 100%;
  }
  
  .feature-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
      color: white;
  }
  
  .feature-card:hover .feature-icon,
  .feature-card:hover .feature-title,
  .feature-card:hover .feature-desc {
      color: white;
  }
  
  .feature-icon {
      font-size: 40px;
      color: var(--highlight-color);
      margin-bottom: 15px;
      transition: var(--transition);
  }
  
  .feature-title {
      font-size: 20px;
      margin-bottom: 12px;
      color: var(--primary-color);
      transition: var(--transition);
  }
  
  .feature-desc {
      color: var(--text-color);
      transition: var(--transition);
      font-size: 14px;
  }
  
  /* قسم آراء العملاء المعدل */
  .testimonials {
      padding: 70px 0;
      background-color: var(--body-bg);
  }
  
  .testimonials .section-title h2 {
      color: var(--primary-color);
  }
  
  .testimonials-slider {
      margin-top: 40px;
      position: relative;
      overflow: hidden;
  }
  
  .swiper {
      width: 100%;
      height: 100%;
      padding: 15px 0;
  }
  
  .testimonial-card {
      background-color: var(--card-bg);
      border-radius: 12px;
      padding: 25px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
      transition: var(--transition);
      margin: 0 10px;
      position: relative;
  }
  
  .testimonial-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
  }
  
  .client-info {
      display: flex;
      align-items: center;
      margin-bottom: 15px;
  }
  
  .client-avatar {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      object-fit: cover;
      border: 2px solid var(--highlight-color);
      margin-left: 15px;
  }
  
  .client-name {
      font-size: 17px;
      font-weight: 600;
      color: var(--primary-color);
      margin-bottom: 3px;
  }
  
  .client-title {
      color: var(--highlight-color);
      font-size: 13px;
      opacity: 0.8;
  }
  
  .testimonial-text {
      color: var(--text-color);
      font-style: italic;
      margin-bottom: 15px;
      line-height: 1.7;
      position: relative;
      padding-right: 25px;
      font-size: 14px;
  }
  
  .testimonial-text::before {
      content: "\201C";
      font-size: 50px;
      position: absolute;
      right: -10px;
      top: -15px;
      color: rgba(240, 147, 25, 0.2);
      font-family: serif;
  }
  
  .testimonial-rating {
      color: #ffd700;
      font-size: 15px;
  }
  
  .swiper-pagination-bullet {
      background-color: var(--text-color);
      opacity: 0.3;
      width: 10px;
      height: 10px;
      transition: var(--transition);
  }
  
  .swiper-pagination-bullet-active {
      background-color: var(--highlight-color);
      opacity: 1;
      transform: scale(1.2);
  }
  
 
  
  .product-detail-modal.active {
      opacity: 1;
      visibility: visible;
  }
  
  .product-detail-content {
      background-color: var(--card-bg);
      width: 90%;
      max-width: 1100px;
      max-height: 90vh;
      border-radius: 12px;
      overflow: hidden;
      display: flex;
      position: relative;
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
      animation: modalFadeIn 0.5s ease;
      overflow-y: auto;
  }
  
  @keyframes modalFadeIn {
      from {
          opacity: 0;
          transform: translateY(50px);
      }
  
      to {
          opacity: 1;
          transform: translateY(0);
      }
  }
  
  .close-modal {
      position: absolute;
      top: 15px;
      left: 15px;
      background-color: rgba(0, 0, 0, 0.3);
      color: white;
      border: none;
      width: 35px;
      height: 35px;
      border-radius: 50%;
      font-size: 18px;
      cursor: pointer;
      z-index: 10;
      transition: var(--transition);
  }
  
  .close-modal:hover {
      background-color: var(--highlight-color);
      transform: rotate(90deg);
  }
  
  .product-detail-images {
      flex: 1;
      min-height: 450px;
      position: relative;
      background-color: var(--body-bg);
  }
  
  .product-main-image {
      width: 100%;
      height: 100%;
      object-fit: contain;
      position: absolute;
      top: 0;
      left: 0;
      padding: 30px;
  }
  
  .product-thumbnails {
      position: absolute;
      bottom: 15px;
      left: 0;
      width: 100%;
      display: flex;
      justify-content: center;
      gap: 8px;
      z-index: 5;
  }
  
  .product-thumbnail {
      width: 50px;
      height: 50px;
      object-fit: cover;
      border: 2px solid transparent;
      border-radius: 5px;
      cursor: pointer;
      transition: var(--transition);
  }
  
  .product-thumbnail:hover,
  .product-thumbnail.active {
      border-color: var(--highlight-color);
      transform: translateY(-5px);
  }
  
  .product-detail-info {
      flex: 1;
      padding: 30px;
      position: relative;
  }
  
  .product-detail-title {
      font-size: 28px;
      margin-bottom: 12px;
      color: var(--primary-color);
  }
  
  .product-detail-meta {
      display: flex;
      align-items: center;
      margin-bottom: 15px;
      gap: 12px;
      flex-wrap: wrap;
  }
  
  .product-detail-rating {
      display: flex;
      align-items: center;
      color: #ffd700;
      font-size: 16px;
  }
  
  .product-detail-review-count {
      color: var(--text-color);
      margin-right: 8px;
      font-size: 13px;
  }
  
  .product-detail-availability {
      background-color: #4caf50;
      color: white;
      padding: 4px 8px;
      border-radius: 4px;
      font-size: 13px;
  }
  
  .product-detail-price {
      font-size: 24px;
      font-weight: 700;
      color: var(--highlight-color);
      margin-bottom: 15px;
      display: flex;
      align-items: center;
      gap: 12px;
  }
  
  .product-detail-old-price {
      font-size: 18px;
      color: #999;
      text-decoration: line-through;
  }
  
  .product-detail-discount {
      background-color: #ff5252;
      color: white;
      padding: 3px 8px;
      border-radius: 4px;
      font-size: 13px;
  }
  
  .product-detail-description {
      color: var(--text-color);
      margin-bottom: 25px;
      line-height: 1.7;
  }
  
  .product-detail-features {
      margin-bottom: 25px;
  }
  
  .product-detail-features h4 {
      font-size: 17px;
      margin-bottom: 12px;
      color: var(--primary-color);
  }
  
  .product-detail-features ul {
      list-style: none;
  }
  
  .product-detail-features li {
      margin-bottom: 8px;
      position: relative;
      padding-right: 22px;
      color: var(--text-color);
  }
  
  .product-detail-features li::before {
      content: "\f00c";
      font-family: "Font Awesome 6 Free";
      font-weight: 900;
      position: absolute;
      right: 0;
      top: 0;
      color: var(--highlight-color);
  }
  
  .product-detail-actions {
      display: flex;
      gap: 12px;
      margin-bottom: 25px;
      flex-wrap: wrap;
  }
  
  .quantity-selector {
      display: flex;
      align-items: center;
      border: 1px solid #ddd;
      border-radius: 50px;
      overflow: hidden;
  }
  
  .quantity-btn {
      background-color: #f5f5f5;
      border: none;
      width: 35px;
      height: 35px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 15px;
      transition: var(--transition);
  }
  
  .quantity-btn:hover {
      background-color: var(--highlight-color);
      color: white;
  }
  
  .quantity-input {
      width: 45px;
      height: 35px;
      border: none;
      text-align: center;
      font-size: 15px;
      background-color: transparent;
      color: var(--text-color);
  }
  
  .add-to-cart-btn {
      background-color: var(--highlight-color);
      color: white;
      border: none;
      padding: 0 25px;
      border-radius: 50px;
      cursor: pointer;
      font-weight: 600;
      transition: var(--transition);
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 15px;
      height: 35px;
  }
  
  .add-to-cart-btn:hover {
      background-color: var(--primary-color);
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(240, 147, 25, 0.4);
  }
  
  .wishlist-btn {
      background-color: var(--accent-color);
      color: var(--primary-color);
      border: none;
      width: 35px;
      height: 35px;
      border-radius: 50%;
      cursor: pointer;
      transition: var(--transition);
      display: flex;
      align-items: center;
      justify-content: center;
  }
  
  .wishlist-btn:hover {
      background-color: var(--secondary-color);
      transform: translateY(-2px);
  }
  
  .product-detail-tabs {
      margin-top: 30px;
  }
  
  .detail-tabs-header {
      display: flex;
      border-bottom: 1px solid #ddd;
      margin-bottom: 15px;
  }
  
  .detail-tab-btn {
      padding: 8px 15px;
      background: none;
      border: none;
      border-bottom: 3px solid transparent;
      cursor: pointer;
      font-weight: 600;
      color: var(--text-color);
      transition: var(--transition);
      font-size: 15px;
  }
  
  .detail-tab-btn.active {
      color: var(--highlight-color);
      border-bottom-color: var(--highlight-color);
  }
  
  .detail-tab-content {
      display: none;
      color: var(--text-color);
      line-height: 1.7;
  }
  
  .detail-tab-content.active {
      display: block;
      animation: fadeIn 0.5s ease;
  }
  
  @keyframes fadeIn {
      from {
          opacity: 0;
      }
  
      to {
          opacity: 1;
      }
  }
  
  .product-detail-specs table {
      width: 100%;
      border-collapse: collapse;
  }
  
  .product-detail-specs tr:nth-child(even) {
      background-color: rgba(0, 0, 0, 0.03);
  }
  
  .product-detail-specs th,
  .product-detail-specs td {
      padding: 10px 12px;
      text-align: right;
      border-bottom: 1px solid #ddd;
      font-size: 14px;
  }
  
  .product-detail-specs th {
      color: var(--primary-color);
      font-weight: 600;
      width: 30%;
  }
  
  /* قسم "نبذة عنا" الجديد */
  .about-us {
      padding: 70px 0;
      background-color: var(--card-bg);
      position: relative;
      overflow: hidden;
  }
  
  .about-us::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1920&q=80") center/cover;
      opacity: 0.05;
      z-index: 0;
  }
  
  .about-content {
      position: relative;
      z-index: 1;
      display: flex;
      align-items: center;
      gap: 40px;
  }
  
  .about-image {
      flex: 1;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
  }
  
  .about-image img {
      width: 100%;
      height: auto;
      transition: transform 0.5s ease;
  }
  
  .about-image:hover img {
      transform: scale(1.03);
  }
  
  .about-text {
      flex: 1;
  }
  
  .about-text h2 {
      font-size: 32px;
      color: var(--primary-color);
      margin-bottom: 15px;
      position: relative;
      padding-bottom: 12px;
  }
  
  .about-text h2::after {
      content: "";
      position: absolute;
      width: 70px;
      height: 3px;
      background-color: var(--highlight-color);
      bottom: 0;
      right: 0;
  }
  
  .about-text p {
      color: var(--text-color);
      margin-bottom: 15px;
      line-height: 1.7;
      font-size: 15px;
  }
  
  .about-stats {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 15px;
      margin-top: 25px;
  }
  
  .stat-item {
      background-color: var(--accent-color);
      padding: 15px;
      border-radius: 8px;
      text-align: center;
      transition: var(--transition);
  }
  
  .stat-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  }
  
  .stat-number {
      font-size: 30px;
      font-weight: 700;
      color: var(--highlight-color);
      margin-bottom: 3px;
  }
  
  .stat-label {
      font-size: 15px;
      color: var(--text-color);
  }
  
  /* الفوتر */
  footer {
      background-color: var(--footer-bg);
      color: var(--secondary-color);
      padding: 60px 0 15px;
      margin-top: 70px;
      position: relative;
  }
  
  footer::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 12px;
      background: linear-gradient(90deg, var(--highlight-color), var(--accent-color));
  }
  
  .footer-content {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 30px;
      margin-bottom: 40px;
  }
  
  .footer-column h3 {
      font-size: 20px;
      margin-bottom: 20px;
      position: relative;
      padding-bottom: 12px;
      color: var(--highlight-color);
  }
  
  .footer-column h3::after {
      content: "";
      position: absolute;
      width: 45px;
      height: 2px;
      background-color: var(--highlight-color);
      bottom: 0;
      right: 0;
  }
  
  .footer-about p {
      margin-bottom: 15px;
      opacity: 0.8;
      line-height: 1.7;
      font-size: 14px;
  }
  
  .footer-links ul {
      list-style: none;
  }
  
  .footer-links ul li {
      margin-bottom: 10px;
  }
  
  .footer-links ul li a {
      color: var(--secondary-color);
      text-decoration: none;
      transition: var(--transition);
      display: flex;
      align-items: center;
      gap: 8px;
      opacity: 0.8;
      font-size: 14px;
  }
  
  .footer-links ul li a:hover {
      color: var(--highlight-color);
      opacity: 1;
      transform: translateX(-5px);
  }
  
  .footer-links ul li a i {
      font-size: 11px;
  }
  
  .footer-contact ul {
      list-style: none;
  }
  
  .footer-contact ul li {
      margin-bottom: 12px;
      display: flex;
      align-items: flex-start;
      gap: 8px;
      opacity: 0.8;
      font-size: 14px;
  }
  
  .footer-contact ul li i {
      color: var(--highlight-color);
      font-size: 16px;
      margin-top: 3px;
  }
  
  .footer-newsletter p {
      margin-bottom: 15px;
      opacity: 0.8;
      line-height: 1.7;
      font-size: 14px;
  }
  
  .newsletter-form {
      display: flex;
      margin-bottom: 15px;
  }
  
  .newsletter-form input {
      flex: 1;
      padding: 10px 12px;
      border: none;
      border-radius: 5px 0 0 5px;
      font-size: 13px;
  }
  
  .newsletter-form button {
      background-color: var(--highlight-color);
      color: white;
      border: none;
      padding: 0 15px;
      border-radius: 0 5px 5px 0;
      cursor: pointer;
      transition: all 0.3s;
      font-size: 14px;
  }
  
  .newsletter-form button:hover {
      background-color: var(--primary-color);
  }
  
  .footer-social {
      display: flex;
      gap: 12px;
      margin-top: 15px;
  }
  
  .footer-social a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 35px;
      height: 35px;
      background-color: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      color: var(--secondary-color);
      transition: all 0.3s;
      font-size: 16px;
      color:white;

  }
  
  .footer-social a:hover {
      background-color: var(--highlight-color);
      transform: translateY(-3px);
  }
  
  .footer-map {
      height: 180px;
      margin-top: 15px;
      border-radius: 8px;
      overflow: hidden;
      background-color: #555;
      position: relative;
  }
  
  .footer-map iframe {
      width: 100%;
      height: 100%;
      border: none;
  }
  
  .copyright {
      text-align: center;
      padding-top: 25px;
      border-top: 1px solid rgba(255, 242, 216, 0.1);
      font-size: 13px;
      opacity: 0.7;
  }
  
  /* تأثيرات التمرير */
  .scroll-animate {
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.6s ease;
  }
  
  .scroll-animate.animated {
      opacity: 1;
      transform: translateY(0);
  }
  
  /* شريط التقدم */
  .progress-container {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 4px;
      background-color: transparent;
      z-index: 9999;
  }
  
  .progress-bar {
      height: 100%;
      background: linear-gradient(90deg, var(--highlight-color), var(--accent-color));
      width: 0%;
      transition: width 0.1s;
  }
  
  /* زر العودة للأعلى */
  .back-to-top {
      position: fixed;
      bottom: 25px;
      right: 25px;
      width: 45px;
      height: 45px;
      background-color: var(--highlight-color);
      color: white;
      border: none;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      cursor: pointer;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s;
      z-index: 99;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }
  
  .back-to-top.active {
      opacity: 1;
      visibility: visible;
  }
  
  .back-to-top:hover {
      background-color: var(--primary-color);
      transform: translateY(-5px);
  }
  
  /* أنيميشنز */
  @keyframes fadeInDown {
      from {
          opacity: 0;
          transform: translateY(-30px);
      }
  
      to {
          opacity: 1;
          transform: translateY(0);
      }
  }
  
  @keyframes fadeInUp {
      from {
          opacity: 0;
          transform: translateY(30px);
      }
  
      to {
          opacity: 1;
          transform: translateY(0);
      }
  }
  
  @keyframes pulse {
      0% {
          transform: scale(1);
      }
  
      50% {
          transform: scale(1.05);
      }
  
      100% {
          transform: scale(1);
      }
  }
  
  /* التجاوب */
  @media (max-width: 1200px) {
      .product-detail-content {
          flex-direction: column;
          max-height: 90vh;
      }
  
      .product-detail-images {
          min-height: 300px;
      }
  
      .about-content {
          flex-direction: column;
      }
  }
  
  @media (max-width: 992px) {
      .hero h1 {
          font-size: 32px;
      }
  
      .hero p {
          font-size: 16px;
      }
  
      .section-title h2 {
          font-size: 28px;
      }
  
      .product-detail-title {
          font-size: 24px;
      }
  
      .about-text h2 {
          font-size: 28px;
      }
  }
  
  @media (max-width: 768px) {
      .header-content {
          flex-direction: column;
          text-align: center;
      }
  
      .logo {
          margin-bottom: 15px;
      }
  
      nav ul {
          flex-wrap: wrap;
          justify-content: center;
      }
  
      nav ul li {
          margin: 5px;
      }
  
      .header-actions {
          margin-top: 15px;
      }
  
      .hero {
          padding: 60px 0;
      }
  
      .hero h1 {
          font-size: 28px;
      }
  
      .hero p {
          font-size: 15px;
      }
  
      .section-title h2 {
          font-size: 24px;
      }
  
      .product-detail-info {
          padding: 25px;
      }
  
      .product-detail-actions {
          flex-direction: column;
      }
  
      .quantity-selector {
          width: 100%;
          justify-content: space-between;
      }
  
      .add-to-cart-btn {
          width: 100%;
          justify-content: center;
      }
  
      .footer-content {
          grid-template-columns: 1fr;
      }
  
      .about-stats {
          grid-template-columns: 1fr;
      }
  }
  
  @media (max-width: 576px) {
      .hero h1 {
          font-size: 24px;
      }
  
      .products-grid {
          grid-template-columns: 1fr;
      }
  
      .product-detail-title {
          font-size: 22px;
      }
  
      .product-detail-price {
          font-size: 22px;
      }
  
      .detail-tabs-header {
          flex-wrap: wrap;
      }
  
      .detail-tab-btn {
          padding: 6px 12px;
          font-size: 13px;
      }
  
      .about-text h2 {
          font-size: 24px;
      }
  }

  /* تعديلات الوضع الليلي الاحترافية */
  :root.dark-mode {
      --primary-color: #e0e0e0;
      --secondary-color: #1e1e2e;
      --accent-color: #2a2a3a;
      --highlight-color: #ffc107;
      --white: #121212;
      --text-color: #e0e0e0;
      --card-bg: #252535;
      --body-bg: #1a1a2a;
      --footer-bg: #121220;
      --header-bg: rgba(30, 30, 46, 0.95);
      --footer-text: #d0d0d0;
      --shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
  }

  :root.dark-mode .product-card,
  :root.dark-mode .feature-card,
  :root.dark-mode .testimonial-card {
      box-shadow: 0 5px 15px rgba(19, 19, 19, 0);
  }

  :root.dark-mode .product-card:hover,
  :root.dark-mode .feature-card:hover,
  :root.dark-mode .testimonial-card:hover {
      box-shadow: 0 10px 25px rgba(255, 251, 2, 0.815);
  }

  :root.dark-mode .quantity-selector {
      border-color: #444;
  }

  :root.dark-mode .quantity-btn {
      background-color: #333;
      color: #e0e0e0;
  }

  :root.dark-mode .quantity-input {
      color: #e0e0e0;
  }

  :root.dark-mode .detail-tabs-header {
      border-bottom-color: #444;
  }

  :root.dark-mode .product-detail-specs tr:nth-child(even) {
      background-color: rgba(255, 255, 255, 0.05);
  }

  :root.dark-mode .product-detail-specs th,
  :root.dark-mode .product-detail-specs td {
      border-bottom-color: #444;
      color:white;
  }

  :root.dark-mode .footer-map {
      background-color: #333;
  }

  :root.dark-mode .copyright {
      border-top-color: rgba(255, 255, 255, 0.1);
  }